Let's create a collision event so that our sprite can eat the food!

  • Go to and drag out Collision.
  • Delete the .go_to() command.

Now whatever object our fish collides with will be hidden from the stage.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)